# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=scdoc
pkgver=1.11.2
pkgrel=0
pkgdesc="Simple man page generator written for POSIX systems written in C99"
url="https://git.sr.ht/~sircmpwn/scdoc"
license="MIT"
arch="all"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz"

check() {
	make check
}

build() {
	make PREFIX="/usr"
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
3fbf1a74b222dd88410636124e4b6ca73f7e77f67d512cf430a878fefcaa5c6c13a1e9f6c0c9654de15353f94bb1bd528665acebc2293bebb325501d1eb6cda3  scdoc-1.11.2.tar.gz
"
